package com.kxmall.huishou.service;

import com.kxmall.huishou.domain.HsRecoveryVehicle;
import com.kxmall.huishou.domain.vo.HsRecoveryVehicleVo;
import com.kxmall.huishou.domain.bo.HsRecoveryVehicleBo;
import com.kxmall.common.core.page.TableDataInfo;
import com.kxmall.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 回收车辆信息Service接口
 *
 * @author kxmall
 * @date 2023-11-24
 */
public interface IHsRecoveryVehicleService {

    /**
     * 查询回收车辆信息
     */
    HsRecoveryVehicleVo queryById(Long id);

    /**
     * 查询回收车辆信息列表
     */
    TableDataInfo<HsRecoveryVehicleVo> queryPageList(HsRecoveryVehicleBo bo, PageQuery pageQuery);

    /**
     * 查询回收车辆信息列表
     */
    List<HsRecoveryVehicleVo> queryList(HsRecoveryVehicleBo bo);

    /**
     * 新增回收车辆信息
     */
    Boolean insertByBo(HsRecoveryVehicleBo bo);

    /**
     * 修改回收车辆信息
     */
    Boolean updateByBo(HsRecoveryVehicleBo bo);

    /**
     * 校验并批量删除回收车辆信息信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
